package com.ruoyi.project.wx.dao;


import com.ruoyi.project.wx.domain.OrderComentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 评价表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-05-22 15:31:35
 */
@Mapper
public interface OrderComentDao {

	OrderComentDO get(String id);
	
	List<OrderComentDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderComentDO orderComent);
	
	int update(OrderComentDO orderComent);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<Map<String,Object>> getComentByGoods(Map<String, Object> params);

	List<Map<String,Object>> getComentList(Map<String, Object> map);

	int getComentListCount(Map<String, Object> map);

    List<Map<String, Object>> getUserCommentList(Map<String, Object> map);
}
